package org.dtrd.modules.shop.service;

import org.dtrd.modules.shop.entity.po.DtrdEntShcRdOrderJoinAddress;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import org.dtrd.modules.shop.entity.bean.OrderJoinAddressDetail;
import org.dtrd.modules.shop.entity.bean.OrderJoinAddressListInfo;
import org.dtrd.modules.shop.entity.bean.OrderJoinAddressListRequest;
import org.dtrd.modules.shop.entity.bean.OrderJoinAddressPageRequest;

import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * <p>
 * 订单与收货地址关联关系服务类
 * </p>
 *
 * @author sun
 * @since 2022-07-23
 */
public interface IDtrdEntShcRdOrderJoinAddressService extends IService<DtrdEntShcRdOrderJoinAddress> {

    List<OrderJoinAddressListInfo> getOrderJoinAddressList(OrderJoinAddressListRequest request);

    IPage<OrderJoinAddressListInfo> pageOrderJoinAddress(OrderJoinAddressPageRequest request);

    OrderJoinAddressDetail getOrderJoinAddress(Integer dataId);

    boolean saveOrUpdateOrderJoinAddress(OrderJoinAddressDetail dto);

    boolean removeOrderJoinAddress(Integer dataId);

    OrderJoinAddressDetail getOrderJoinAddressByOrderId(String orderId);
}
